package cn.wolfcode.fegin;

import cn.wolfcode.common.web.Result;
import cn.wolfcode.domain.PayVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@FeignClient(name = "pay-service")
public interface AliPayFeignApi {
    @RequestMapping("/alipay/pay")
    Result<String> doPay(@RequestBody PayVo pay);
}
